package com.erb.service.hzg.impl;

import com.erb.entity.LoanUser;
import com.erb.mapper.loanLoginMapper;
import com.erb.service.hzg.loanLoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class loanLoginServiceImpl implements loanLoginService {
	@Resource
	loanLoginMapper loan;

	@Override
	public LoanUser seluser(LoanUser name) {
		return loan.seluser(name);
	}

	@Override
	public void addLuser(LoanUser user) {
		loan.addLuser(user);
	}

	@Override
	public LoanUser loanpemail(String phoneemail, String password) {
		return loan.loanpemail(phoneemail, password);
	}

}
